package com.example.telesys.service;

import com.example.telesys.interceptor.FeignPassToken;
import com.example.telesys.pojo.Supplier;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-supplier", configuration = FeignPassToken.class)
public interface SupplierService {

    @RequestMapping("/supplier/selectSupplierById")
    Supplier selectSupplierById(@RequestParam("supplierid") String supplierid);
}
